/*
 * @Date: 2023-03-29 15:25:37
 * @LastEditors: LDH 574427343@qq.com
 * @LastEditTime: 2023-03-29 15:52:38
 * @FilePath: /flow-designer/src/utils/const.js
 */

export let bgColors = ["", '238, 242, 255', '252, 250, 238', '', '','', '238,248,248']
export let textColors = ["", '18,128,238', '222, 175, 44', '', '', '','127, 181, 179']
export let placeholderList = ["申请人", "审批人", "抄送人","","","表决人"];

export let nodeTypeList = ["未知", "申请人", "审批人", "条件", "网关", "表决人", "抄送人"];


export  const inputType =['input', 'textarea', 'number', 'radio', 'checkbox', 'select', 'time', 'time-range', 'date', 'date-range', 'switch', 'rate', 'color', 'slider', 'button', 'picture-upload', 'file-upload', 'rich-editor', 'cascader'];

export let approvalUserTypes = [
  { value: '1', label: '指定成员' },
  { value: '4', label: '指定部门负责人' },
  { value: '6', label: '指定标签' },
  { value: '8', label: '申请人本人' },
  { value: '9', label: '申请人自选' },
]

export let optTypes = [
  { value: '1', label: '小于' },
  { value: '2', label: '大于' },
  { value: '4', label: '等于' },
]

export let optMap = {
  "1":"<",
  "2":">",
  "4":"==",
}


